import axios from 'axios'

const ajax = axios.create({
  baseURL: 'http://jsonplaceholder.typicode.com'
})


export const getTodos = () => {
  return ajax.get('/todos')
}